I’m always needing these settings, so I’ve got them.
“Where’s that (more) complete config file when you need it??” – look no further.

I’ve also included some BTS process memory throttling options as well – due to a recent
Out of Memory Exception I resolved.

———-

<?xml version=”1.0″ ?>
<
configuration>
   <configSections>
      
<section name=”xlangs” type=”Microsoft.XLANGs.BizTalk.CrossProcess.XmlSerializationConfigurationSectionHandler,
Microsoft.XLANGs.BizTalk.CrossProcess”
/>
    
</configSections>

    <!–
these settings are for BTS making HTTP/SOAP calls out, 2 concurrent connections is
the default.
         This should be in EVERY system where
BTS is calling WebServices –>


  
<
system.net>
      <connectionManagement>

          <add address=”*” maxconnection=”40″/>
     
</connectionManagement>
   </system.net>


   
<runtime>
      
<assemblyBinding xmlns=”urn:schemas-microsoft-com:asm.v1″>
         
<probing privatePath=”BizTalk
Assemblies;Developer Tools;Tracking;Tracking\interop”
/>
      
</assemblyBinding>
    
</runtime>
    
<system.runtime.remoting>
       
<channelSinkProviders>
         <
serverProviders>
            
<provider id=”sspi” type=”Microsoft.BizTalk.XLANGs.BTXEngine.SecurityServerChannelSinkProvider,Microsoft.XLANGs.BizTalk.Engine” securityPackage=”ntlm” authenticationLevel=”packetPrivacy” />
         
</serverProviders>
      
</channelSinkProviders>
      
<application>
         
<channels>
            
<channel ref=”tcp” port=”0″ name=””>
               
<serverProviders>
                  
<provider ref=”sspi” />
                  
<formatter ref=”binary” typeFilterLevel=”Full”/>
               
</serverProviders>
            
</channel>
         
</channels>
      
</application>
     
</system.runtime.remoting>
      
<appSettings>
         
<add key=”Key1″ value=”Hello,
World!”
/>
      
</appSettings>
      
<xlangs>
         
<Configuration><!
MaxThreshold – “Max time in memory an Orch will reside before dehydrat” MinThreshold
– “Min time” —
>
               
<Dehydration MaxThreshold=”1800″ MinThreshold=”1″ ConstantThreshold=”-1″>
                  
<!
Currently, virtual memory can become a bottleneck on 32-bit machines due to unmanaged
heap fragmentation, so you should throttle by this resource as well. —
>
                  
<VirtualMemoryThrottlingCriteria OptimalUsage=”900″%u00c2” MaximalUsage=”1300″ IsActive=”true” /> 
                  
<!
This is a useful criterion for throttling, but appropriate values depend on whether
the box is being shared among servers. If the machine has a lot of RAM and is not
being shared with other functions, then these values can be significantly increased.Optimal
and maximal usage are in MB.–
>
                  
<PrivateMemoryThrottlingCriteria OptimalUsage=”50″ MaximalUsage=”350″ IsActive=”true” /> 
               
</Dehydration>
               
<Debugging ValidateSchemas=”true” ValidateAssemblies=”true” ExtendedLogging=”true” ValidateCorrelations=”false” />
               <AppDomains AssembliesPerDomain=”10″>
                  
<AppDomainSpecs>
                     <AppDomainSpec Name=”DemoDomain” SecondsIdleBeforeShutdown=”-1″ SecondsEmptyBeforeShutdown=”12000″ />
                  </AppDomainSpecs>
                  
<ExactAssignmentRules>
                     
<ExactAssignmentRule AssemblyName=”Configuration,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=3a7d0586c62e754b”
AppDomainName=”DemoDomain” />
                  
</ExactAssignmentRules>
               
</AppDomains>
            
</Configuration>
      
</xlangs>
</configuration>